package com.gmgx.hrms.dao;

import com.gmgx.hrms.entity.Emp;

import java.util.List;

public interface EmpDao {
    Emp queryEmpByNameAndPwd(String lname, String lpwd);

    Emp queryEmpById(int empid);

    boolean queryEmpByName(String lname);

    boolean addEmp(Emp emp);

    List<Emp> queryAllEmp();

    boolean updateEmpForHR(Emp emp);

    boolean updateEmpStatusByEmpid(String status,int empid);
}
